home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
User's Choice Windows CD
/
User's Choice Windows CD (CMS Software)(1993).iso
/
win_q_t
/
stsbar12.zip
/
STSBAR.EXT
< prev
next >
Wrap
Text File
|
1991-10-04
|
2KB
|
57 lines
//========================================================================
//
// Program : STSBAR.EXT
// Version : 1.2.0
// Operating System : DOS / Windows 3.0 / Microsoft C 6.0
// Author : Jean-Marc Krikorian
// 525 Sandy Lane
// Libertyville, IL 60048
// (708) 816-3314
//
// Description : This file contains all the control messages, styles
// and defines.
//
// Copyright 1991 All Rights Reserved.
//
//========================================================================
// Status Bar Messages
#define SBM_SIZE ( WM_USER + 0 )
#define SBM_DISPLAYTEXT ( WM_USER + 1 )
#define SBM_TEXTCOLOR ( WM_USER + 2 )
#define SBM_FACESTYLE ( WM_USER + 3 )
#define SBM_FACECOLOR ( WM_USER + 4 )
#define SBM_SETFONT ( WM_USER + 5 )
// Status Bar Notification Messages
#define SBN_LBUTTONUP ( 1 )
#define SBN_LBUTTONDBLCLK ( 2 )
#define SBN_MBUTTONUP ( 3 )
#define SBN_MBUTTONDBLCLK ( 4 )
#define SBN_RBUTTONUP ( 5 )
#define SBN_RBUTTONDBLCLK ( 6 )
// Status Bar Face Styles
#define SBFS_3DFACE 1000
#define SBFS_2DFACE 1001
#define SBFS_FLATFACE 1002
// Status Bar Face Colors And Text Colors
#define SBCLR_RED RGB(255, 0, 0)
#define SBCLR_GREEN RGB(0, 255, 0)
#define SBCLR_BLUE RGB(0, 0, 255)
#define SBCLR_WHITE RGB(255, 255, 255)
#define SBCLR_BLACK RGB(0, 0, 0)
#define SBCLR_GRAY RGB(192, 192, 192)
// Status Bar Text Attributes
#define SBTA_BOLD 0x0001
#define SBTA_ITALICS 0x0002
#define SBTA_UNDERLINE 0x0004
#define SBTA_STRIKEOUT 0x0008
// Status Bar Styles
#define SBS_BOTTOM 0x00000001L
#define SBS_TOP 0x00000002L
#define SBS_MOVEABLE 0x00000004L